package org.acooly.secretbox.service.domain;

import java.util.Date;

/**
 * 账户
 * 
 * @author zhangpu
 * 
 */
public class Account {

	private int id;
	private String accountName;
	private String accountType;
	private int strength = 1;
	private Date createTime = new Date();
	private String username;
	private String password;
	private String comments;

	public Account() {
		super();
	}

	public Account(String accountName, String username, String password, String comments) {
		super();
		this.accountName = accountName;
		this.username = username;
		this.password = password;
		this.comments = comments;
	}

	public String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getAccountName() {
		return accountName;
	}

	public void setAccountName(String accountName) {
		this.accountName = accountName;
	}

	public String getAccountType() {
		return accountType;
	}

	public void setAccountType(String accountType) {
		this.accountType = accountType;
	}

	public int getStrength() {
		return strength;
	}

	public void setStrength(int strength) {
		this.strength = strength;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getComments() {
		return comments;
	}

	public void setComments(String comments) {
		this.comments = comments;
	}

	@Override
	public String toString() {
		return "Account [id=" + id + ", accountName=" + accountName + ", accountType=" + accountType + ", strength=" + strength + ", createTime=" + createTime
				+ ", password=" + password + ", comments=" + comments + "]";
	}

}
